#!/usr/bin/env python3

from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
    return LaunchDescription([
        # Node A - Publisher
        Node(
            package='opentelemetry_demo',
            executable='node_a',
            name='node_a',
            output='screen',
            parameters=[]
        ),
        
        # Node B - Middle processor
        Node(
            package='opentelemetry_demo',
            executable='node_b',
            name='node_b',
            output='screen',
            parameters=[]
        ),
        
        # Node C - Consumer
        Node(
            package='opentelemetry_demo',
            executable='node_c',
            name='node_c',
            output='screen',
            parameters=[]
        ),
    ])
